<%-- 
    Document   : addReviewer
    Created on : 7-apr-2013, 17.15.49
    Author     : Giuseppe
--%>

<%@page import="ejb.ArticoloUsato"%>
<%@page import="java.util.List"%>
<%@include file="wrapper.jsp" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% List<ArticoloUsato> usatiDaConfermare= (List<ArticoloUsato>)session.getAttribute("usatiDaConfermare");%>

<div class="container">
   <div class="container">
    <div class="row-fluid">
        <div class="span3 bs-docs-sidebar">
        <ul class="nav nav-list bs-docs-sidenav">
            <li><a href="Controller?button=visualizzaRecensori"> 
            <button class="btn btn-large btn-inverse btn-block" style="width:210px"><i class="icon-white icon-th-list"></i> Tutti i Recensori</button> </a></li>
            <li><a href="Controller?button=visualizzaRecensioniInterne"> 
            <button class="btn btn-large btn-inverse btn-block" style="width:210px"><i class="icon-white icon-th-list"></i> Recensioni Interne</button> </a></li>
            <li><a href="Controller?button=visualizzaRecensioniEsterne"> 
            <button class="btn btn-large btn-inverse btn-block" style="width:210px"><i class="icon-white icon-th-list"></i> Recensioni Esterne</button> </a></li>
        </ul>
      </div>   
      
 <div class="span6">
     <div class="thumbnail">
        <h3>Inserimento Recensore</h3>
        <form class="form-horizontal" action="Controller" method="POST" onSubmit="return checkRegister(this)">
        <div class="control-group">
        <label class="control-label" for="inputNome">Nome:</label>
        <div class="controls">
        <input name="nome" type="text" id="inputNome" placeholder="Nome">
        </div>
        </div>
        <div class="control-group">
        <label class="control-label" for="inputCognome">Cognome:</label>
        <div class="controls">
        <input name="cognome" type="text" id="inputCognome" placeholder="Cognome">
        </div>
        </div>
        <div class="control-group">
        <label class="control-label" for="inputUsername">Username:</label>
        <div class="controls">
        <input name="username" type="text" id="inputUsername" placeholder="Username">
        </div>
        </div>     
        <div class="control-group">
        <label class="control-label" for="inputPassword">Password:</label>
        <div class="controls">
        <input type="password" name="pwd" id="inputPassword" placeholder="Password">
        </div>
        </div>
        <div class="control-group">
        <label class="control-label" for="inputEmail">Email:</label>
        <div class="controls">
        <input name="eMail" type="text" id="inputEmail" placeholder="Email">
        </div>
        </div>
        <label id="erroreDati" style="padding-left: 170px;color: red;"></label>
        <div class="control-group">
        <label class="control-label" style="padding-left: 170px"><button  class="btn btn-small btn-inverse btn success" type="submit" value="AggiungiRecensore" name="button"><i class="icon-white icon-ok"></i>Aggiungi Recensore</button></label>
       
        </div>
 </form>
</div>
</div>
    <div class="span3">
            <div class="thumbnail">
                 <p><b>Notes</b></p>
                 <br>
                 <% if(!usatiDaConfermare.isEmpty()){%>
                    <p> Ancora <%=usatiDaConfermare.size()%> articoli da confermare </p>
                    <br>
                    <p align="center">
                        <a href="Controller?button=modificaCancellaArtUsati&amp;confirm=s">
                            <button class="btn btn-inverse btn-small"><i class="icon-white icon-th-list"></i> Vedi Articoli da confermare</button>
                        </a>
                    </p>
                 <%}else{%>
                 <p> Nessun articolo da confermare </p>
                <%}%>      
            </div>
    </div>
            
</div>
</div>
</body>


</html>

